package com.yanqu.road.entity.log;

public class LogRecharge {
	private long userId;
	private int mallId;
	private int num;
	private long time;
	private long price;
	private String orderNo;						// 订单号
	private int type;							//0：游戏内充值；1：第三方充值
	private long serverId;
	private String sdkOrderNo;					//sdk订单号
	private long vipExp;						//vip经验点
	private String activityType;
	//3.7增加字段记录订单信息
	private String currency;			//定价币种
	private String realMoney;			//对账金额
	private String realCurrency;		//对账的币种
	private String localMoney;			//支付原币金额
	private String localCurrency;		//支付原币币种
	private String ltrRate;				//原币金额转对账金额汇率
	private String newMoney;			//支付金额
	private String tax;					//税率
	private long productCoin;			//本次购买的游戏币数
	private int device;					//设备类型
	private String payChannel;			//支付渠道
	private String platformOrderNo;		//平台订单号
	private int orderType;				//订单类型，0：默认；1：代币订单
	private int activityId;				//活动编号
	private String couponMoney;			//优惠券
	private int mallMarkId;				//商品标识编号
	private boolean isRepeatBuy;		//是否重复购买

	public LogRecharge(long userId, int mallId, int num, long price, String orderNo, long time, long serverId, int type, String sdkOrderNo,
			long vipExp, String activityType, String currency, String realMoney, String realCurrency, String localMoney, String localCurrency,
			String ltrRate, String newMoney, String tax, long productCoin, int device, String payChannel, String platformOrderNo, int activityId,
			String couponMoney, int mallMarkId, boolean isRepeatBuy) {
		this.userId = userId;
		this.mallId = mallId;
		this.num = num;
		this.price = price;
		this.orderNo = orderNo;
		this.time = time;
		this.serverId = serverId;
		this.type = type;
		this.sdkOrderNo = sdkOrderNo;
		this.vipExp = vipExp;
		this.activityType = activityType;
		this.currency = currency;
		this.realMoney = realMoney;
		this.realCurrency = realCurrency;
		this.localMoney = localMoney;
		this.localCurrency = localCurrency;
		this.ltrRate = ltrRate;
		this.newMoney = newMoney;
		this.tax = tax;
		this.productCoin = productCoin;
		this.device = device;
		this.payChannel = payChannel;
		this.platformOrderNo = platformOrderNo;
		this.activityId = activityId;
		this.couponMoney = couponMoney;
		this.mallMarkId = mallMarkId;
		this.isRepeatBuy = isRepeatBuy;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		if (this.userId != userId) {
			this.userId = userId;
		}
	}

	public int getMallId() {
		return mallId;
	}

	public void setMallId(int mallId) {
		if (this.mallId != mallId) {
			this.mallId = mallId;
		}
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		if (this.num != num) {
			this.num = num;
		}
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public long getServerId() {
		return serverId;
	}

	public void setServerId(long serverId) {
		this.serverId = serverId;
	}

	public long getPrice() {
		return price;
	}

	public void setPrice(long price) {
		if (this.price != price) {
			this.price = price;
		}
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		if (this.orderNo != orderNo) {
			this.orderNo = orderNo;
		}
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		if(this.type != type) {
			this.type = type;
		}
	}

	public String getSdkOrderNo() {
		return sdkOrderNo;
	}

	public void setSdkOrderNo(String sdkOrderNo) {
		this.sdkOrderNo = sdkOrderNo;
	}

	public long getVipExp() {
		return vipExp;
	}

	public void setVipExp(long vipExp) {
		this.vipExp = vipExp;
	}

	public String getActivityType() {
		return activityType;
	}

	public void setActivityType(String activityType) {
		this.activityType = activityType;
	}

	public String getCurrency() {
		return currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public String getRealMoney() {
		return realMoney;
	}

	public void setRealMoney(String realMoney) {
		this.realMoney = realMoney;
	}

	public String getRealCurrency() {
		return realCurrency;
	}

	public void setRealCurrency(String realCurrency) {
		this.realCurrency = realCurrency;
	}

	public String getLocalMoney() {
		return localMoney;
	}

	public void setLocalMoney(String localMoney) {
		this.localMoney = localMoney;
	}

	public String getLocalCurrency() {
		return localCurrency;
	}

	public void setLocalCurrency(String localCurrency) {
		this.localCurrency = localCurrency;
	}

	public String getLtrRate() {
		return ltrRate;
	}

	public void setLtrRate(String ltrRate) {
		this.ltrRate = ltrRate;
	}

	public String getNewMoney() {
		return newMoney;
	}

	public void setNewMoney(String newMoney) {
		this.newMoney = newMoney;
	}

	public String getTax() {
		return tax;
	}

	public void setTax(String tax) {
		this.tax = tax;
	}

	public long getProductCoin() {
		return productCoin;
	}

	public void setProductCoin(long productCoin) {
		this.productCoin = productCoin;
	}

	public int getDevice() {
		return device;
	}

	public void setDevice(int device) {
		this.device = device;
	}

	public String getPayChannel() {
		return payChannel;
	}

	public void setPayChannel(String payChannel) {
		this.payChannel = payChannel;
	}

	public String getPlatformOrderNo() {
		return platformOrderNo;
	}

	public void setPlatformOrderNo(String platformOrderNo) {
		this.platformOrderNo = platformOrderNo;
	}

	public int getOrderType() {
		return orderType;
	}

	public void setOrderType(int orderType) {
		this.orderType = orderType;
	}

	public int getActivityId() {
		return activityId;
	}

	public void setActivityId(int activityId) {
		this.activityId = activityId;
	}

	public String getCouponMoney() {
		return couponMoney;
	}

	public void setCouponMoney(String couponMoney) {
		this.couponMoney = couponMoney;
	}

	public int getMallMarkId() {
		return mallMarkId;
	}

	public void setMallMarkId(int mallMarkId) {
		this.mallMarkId = mallMarkId;
	}

	public boolean isRepeatBuy() {
		return isRepeatBuy;
	}

	public void setRepeatBuy(boolean repeatBuy) {
		isRepeatBuy = repeatBuy;
	}
}
